package com.zhny.dao;

import com.github.pagehelper.Page;
import com.zhny.pojo.Knowledge;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface KnowledgeMapper  extends Mapper<Knowledge> {

    @Select("Select * from t_knowledge where cropname like #{s} or pestname like #{s} or weedname like #{s}")
    Page<Knowledge> findLikeQuary(String s);
}
